package com.fruit.pojo.account.user;

import java.io.Serializable;
import java.math.BigDecimal;
/**
 * 用户账户POJO
 * @author Administrator
 *
 */
public class UserAccount implements Serializable {
    private Integer id;

    private Integer userId;

    private Integer loginId;

    private BigDecimal balance;

    private Long points;

    private Long version;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getLoginId() {
        return loginId;
    }

    public void setLoginId(Integer loginId) {
        this.loginId = loginId;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Long getPoints() {
        return points;
    }

    public void setPoints(Long points) {
        this.points = points;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
    @Override
    public String toString() {
    	StringBuffer str=new StringBuffer();
    	str.append("[");
    	str.append("id="+id);
    	str.append(",userId="+userId);
    	str.append(",loginId="+loginId);
    	str.append(",balance="+balance);
    	str.append(",points="+points);
    	str.append(",version="+version);
    	str.append("]");
    	
    	return str.toString();
    }
}